package com.sc.nft.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Card4ValidateDTO {
    @ApiModelProperty(name = "姓名")
    private String name;
    @ApiModelProperty(name = "身份证")
    private String idCardNo;
    @ApiModelProperty(name = "手机号 三网验证需要")
    private String mobilePhone;
    @ApiModelProperty(name = "银行卡号")
    private String cardNo;

    public static Card4ValidateDTO build(String name,String idCardNo,String mobilePhone,String cardNo){
        Card4ValidateDTO card4ValidateDTO = new Card4ValidateDTO();
        card4ValidateDTO.setName(name);
        card4ValidateDTO.setIdCardNo(idCardNo);
        card4ValidateDTO.setMobilePhone(mobilePhone);
        card4ValidateDTO.setCardNo(cardNo);
        return card4ValidateDTO;
    }
}
